<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>设置密码</title>
<meta name="applicable-device" content="mobile">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">

<link href="Public/mobile/css/common.css?64" rel="stylesheet" type="text/css">
<link href="Public/mobile/css/new.css?65" rel="stylesheet" type="text/css">
<link href="Public/mobile/css/login.css" rel="stylesheet" type="text/css">
</head>
<body>
<header class="header">
    <a class="fh_btn" href="forget_password.html"></a>
      <h2>设置密码</h2>
      <a class="hom_icon" href="Index.html"></a>
</header>
<div style="height:50px"></div>
  
    <div class="loginbox">
        <div class="login_t">
            <img class="logo1" width="80" src="Public/mobile/images/logo1.png">
        </div>
        <div class="login_m">
            <input class="login_input" placeholder="请输入新密码" type="text" name="" id="password"/>
        </div>
        <a class="login_btn mt30" href="login.html"  id="tj">提交</a>
    </div>



<script>
function(){       
            $("#tj").click(function () {
                var str = $("#password").val();     
                if(str.length!=6){      
                    reg=/^\d{6}$/;      
                    if(!reg.test(str)){      
                         alert("请输入6位服务密码");   
                    }else{  
                        alert("密码保存成功"); 
                    } 
                } 
            } 
}
</script>
<script type="text/javascript" src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js" charset="utf-8"></script> 
</body>
</html>